﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RecruitmentList.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.RecruitmentList" %>

<%@ Import Namespace ="ZLCMS.Business.Util" %>

<%=_framePage.GetPagerFormHtml(Request.RawUrl)%>

<form id="pageForm" method="post" class="pageForm" runat="Server">
<%=_framePage.TabInfoHtml()%>

<div class="pageHeader">
	<div class="searchBar">
		<ul class="searchContent">
			<li>
			    <span>职位名称&nbsp;</span>
			    <asp:TextBox ID="tb_search_title" runat="server" cond="doctitle" ctltype="textbox"></asp:TextBox>&nbsp;&nbsp;
			</li>
			<li>
			    <span>职位类型&nbsp;</span>
				<asp:dropdownlist runat="server" id="ddl_pos" cond="s_pos" ctltype="dropdownlist"></asp:dropdownlist>&nbsp;&nbsp;
			</li>
			<li style="display:none">
			    <span>KIND</span>
			    <asp:TextBox ID="tb_search_kind" runat="server" cond="kind" ctltype="textbox"></asp:TextBox>&nbsp;&nbsp;
			</li>
		</ul>
	    <div class="subBar">
			<ul>
			<li>
			    <a class="buttonActive" href="<%= Request.Path %>" onclick="ZLAN_DWZ_EX.query(this);" 
			    target="navTab" rel="<%= _framePage.NavTabId %>" title="<%= _framePage.NavTabTitle %>"><span>&nbsp;查&nbsp;询&nbsp;</span></a>
			</li>
			</ul>
	    </div>
	</div>
</div>

<div class="pageContent">   
   	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add"  href="/SystemManage/Basics/Recruitment/RecruitmentAdd.aspx?kind=<%= _kind %>" target="navTab" rel="workadd" title="职位添加"><span>添加</span></a></li>
            <li><a class="delete" href="/SystemManage/Basics/Recruitment/RecruitmentDelete.aspx?ajax=dels" target="selectedTodo" title="请确定要删除"><span>删除勾选</span></a></li>
        </ul>
	</div>
	<div class="tableList" layoutH="116">
	<table class="list" width="100%" targetType="navTab" asc="asc" desc="desc">
	    <thead>
			<tr>
                <th width="22px"><input type="checkbox" group="ids" class="checkboxCtrl"/></th>
				<th width="5%">编号</th>
				<th width="20%">职位名称</th>
				<th width="15%">职位类型</th>
				<th width="15%">工作地点</th>
				<th width="20%">有效期</th>
				<th width="15%">人数</th>
				<th width="10%">操作</th>
			</tr>
		</thead>
		<tbody>
            <asp:repeater runat="server" id="rp_list">
                <ItemTemplate>
			    <tr target="uid" rel="<%# Eval("Id")%>">
                    <td><input name="ids" value="<%#Eval("Id")%>" type="checkbox"/></td>
				    <td><%# Eval("Id")%></td>
				    <td><%# Eval("Title")%></td>
				    <td><%# ParamKit.GetValue("WorkPos", Eval("WorkPost"), "&nbsp")%></td>
				    <td><%# ParamKit.GetValue("WorkCity", Eval("WorkAddr"), "&nbsp")%></td>
				    <td><%# Eval("ExpiryDate")%></td>
				    <td><%# Eval("RequstNum")%></td>
				    <td>
				        <a href="/SystemManage/Basics/Recruitment/RecruitmentEdit.aspx?uid=<%# Eval("Id")%>" onclick="ZLAN_DWZ_EX.open(this);" target="navTab" rel="workedit" title="职位编辑">编辑</a>&nbsp;&nbsp;
				        <a href="/SystemManage/Basics/Recruitment/RecruitmentDelete.aspx?uid=<%# Eval("Id")%>" onclick="ZLAN_DWZ_EX.open(this);" target="ajaxTodo" title="请确定要删除">删除</a>
				    </td>
			    </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>

	</div>

<%= _framePage.GetPagerContentHtml() %>

</div>
</form>

